<?php
// +----------------------------------------------------------------------
// | 中犇单商户
// +----------------------------------------------------------------------
// | Copyright (c) 2019-2021 中犇科技 All rights reserved.
// +----------------------------------------------------------------------


namespace app\common\controller;

use think\Controller;

/**
 * 项目公共控制器
 * @package app\common\controller
 */
class Authorization extends Controller
{
    /**
     * 初始化
     * @author 刘明美 [ liumingmei@zhongbenjituan.com ]
     */
    protected function initialize()
    {
        $domain = $_SERVER['SERVER_NAME'];
        $ignore_domain = ['127.0.0.1', 'localhost', 'feiniu'];
    }

    /**
     * 授权判断
     * @author 刘明美 [ liumingmei@zhongbenjituan.com ]
     */
    public function is_authorization_time(){
        return cache('system_check_auth');
    }

}